Nevron Open Vision Documentation
Nevron.Nov.Diagram.Shapes Namespace / NShapeFactory Class / CreateCenterAndRelativePorts Method / CreateCenterAndRelativePorts(NShape,NPoint[]) Method
shape
vertices for which to generate ports


In This Topic
    CreateCenterAndRelativePorts(NShape,NPoint[]) Method
    In This Topic
    Creates center and relative ports.
    Syntax
    'Declaration
     
    
    Protected Overloads Sub CreateCenterAndRelativePorts( _
       ByVal shape As NShape, _
       ByVal vertices() As NPoint _
    ) 
    'Usage
     
    
    Dim instance As NShapeFactory
    Dim shape As NShape
    Dim vertices() As NPoint
     
    instance.CreateCenterAndRelativePorts(shape, vertices)
    protected void CreateCenterAndRelativePorts( 
       NShape shape,
       NPoint[] vertices
    )

    Parameters

    shape
    shape
    vertices
    vertices for which to generate ports
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also